package mjc.compiler;


public class INFOCONSTRUCTEUR extends INFO {
	
	private static final long serialVersionUID = 1L;
	
	private PARAMETRES params;
	private String visibilite;
	private SIGNATURE signature;
	private TDS varsLocales;
	
	public INFOCONSTRUCTEUR(String _nom, PARAMETRES _params, String _visibilite) {
		super(_nom);
		params = _params;
		visibilite = _visibilite;
		isMethode = true;
	}
	
	public String getVisibilite() {
		return visibilite;
	}
	
	public void setSignature(SIGNATURE s) {
		signature = s;
	}
	
	public String toString() {
		return "CONSTRUCTEUR "+visibilite+" "+getNom()+params.toString();
	}
	
	public void setVarsLocales(TDS vars) {
		varsLocales = vars;
	}
	
	public DTYPE getType() {
		return new DTYPE(nom,0);
	}

}
